package com.liuheng.manager;

import com.liuheng.manager.properties.MinioProperties;
import com.liuheng.manager.properties.UserProperties;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@ComponentScan(basePackages = {"com.liuheng.manager","com.liuheng.spzx.common"})
@MapperScan("com.liuheng.manager.mapper")
@EnableConfigurationProperties(value = {UserProperties.class, MinioProperties.class})
@EnableScheduling
public class spzx_manager {
    public static void main(String[] args) {
        System.out.println("Hello world!");
        SpringApplication.run(spzx_manager.class,args);
    }
}